
	// 宽高控制
	@mixin setwh($w:auto,$h:auto) {
	  width: $w; 
	  height: $h;
	}
	// 文本最多(n)行，超出部分用...表示
	@mixin lineOver($num:1) {
	  overflow : hidden;
	  text-overflow: ellipsis;
	  display: -webkit-box;
	  -webkit-line-clamp: $num;
	  -webkit-box-orient: vertical;
	}
	// position居中
	@mixin positionCenter {
	    position: absolute;
	    top: 50%;
	    left: 50%;
	    -webkit-transform: translate(-50%, -50%);
	    -moz-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	    -o-transform: translate(-50%, -50%);
	    transform: translate(-50%, -50%);
	}
	// flex布局 默认居中
	@mixin flexLayout($center1: center, $center2: flex-start) {
	    display: -webkit-box;
	    display: -moz-box;
	    display: -webkit-flex;
	    display: -moz-flex;
	    display: -ms-flexbox;
	    display: flex;
	    align-items: $center1; 
		// flex-start | flex-end | center | baseline | stretch
	    justify-content: $center2; 
		// flex-start | flex-end | center | space-between | space-around
	}